package View;

import function.choic;
import function.local;

import java.util.InputMismatchException;
import java.util.Scanner;

public class menu {
    public static String ChoiceLanguage() {
        System.out.println("---请选择语言---");
        System.out.println("----1,中文-----");
        System.out.println("---2.English---");
        System.out.println("---------------");
        Scanner sc = new Scanner(System.in);
        return sc.next();
    }

    public static void Login() {
        Scanner sc = new Scanner(System.in);
        System.out.println("<----------- Dream Travel ----------->");
        System.out.println("==========Choose your action==========");
        System.out.println("-----------1.Tour Packages------------");
        System.out.println("-----------2.Tourist Record------------");
        System.out.println("------------3.View Records-------------");
        System.out.println("---------------4.logout----------------");
        System.out.println("---------------------------------------");
    }

    public static String Login_ch() {
        Scanner sc = new Scanner(System.in);
        System.out.println("<------------- 梦之旅 -------------->");
        System.out.println("============= 管理员登陆 =============");
        System.out.println("------------欢迎使用梦之旅-------------");
        System.out.println("---------------1.登陆----------------");
        System.out.println("---------------2.注册----------------");
        System.out.println("---------------3.退出----------------");
        System.out.println("------------------------------------");
        return sc.next();
    }

    public static void menu1_ch() {
        Scanner sc = new Scanner(System.in);
        loop:
        while (true) {
            System.out.println("<--------------- 梦之旅 --------------->");
            System.out.println("==============选择你的操作===============");
            System.out.println("---------------1.旅游套餐---------------");
            System.out.println("---------------2.游客管理----------------");
            System.out.println("---------------3.查看记录----------------");
            System.out.println("----------------4.登出------------------");
            System.out.println("---------------------------------------");
        }
    }
}